package com.fanshilz.flower2025.apps.admin.project.resp;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class CoverImageTableDetailResp {

    private Long fileId;

    private String filePath;

    public void setFilePath(String filePath) {
        this.filePath = "https://file.fanshilz.com/" + filePath;
    }

    private Integer objType;

    private Long objId;

    private String objIdStr;

    /**
     * 文件后缀
     */
    private String fileSuffix;

    private Integer fileSize;

    private String originalFileName;

    private String fileType;

    private Timestamp createTime;

    private Long createUserId;

    private String createUserName;

    private Long updateUserId;

    private Timestamp updateTime;

    private String updateUserName;

}
